//
//  UserFollowCell.h
//  XPhoto
//
//  Created by baboy on 2019/8/9.
//  Copyright © 2019 baboy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UserFollow.h"

NS_ASSUME_NONNULL_BEGIN

@protocol UserFollowCellDelegate;

@interface UserFollowCell : UITableViewCell
@property(nonatomic, strong) IBOutlet UIButton *avatarButton;
@property(nonatomic, strong) IBOutlet UILabel *nicknameLabel;
@property(nonatomic, strong) IBOutlet UILabel *introLabel;
@property(nonatomic, strong) IBOutlet UIButton *followButton;
@property(nonatomic, strong) User *user;
@property(nonatomic, assign) id<UserFollowCellDelegate> delegate;
- (IBAction)followOrCancel:(id)sender;
@end

@protocol UserFollowCellDelegate <NSObject>
@optional
- (void)userFollowCellDidClickedFollowButton:(id)cell;
- (void)userFollowCellDidClickedCancelFollowButton:(id)cell;
@end


NS_ASSUME_NONNULL_END
